<?php
if(!isset($GLOBALS['_vars'])) $GLOBALS['_vars'] = array(); 
$fields = array();
?><!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>会员系统-状态查询</title>
<link href="/hyxt/pc/css/member.css" rel="stylesheet" type="text/css">
<script language="javascript" src="js/jquery-1.7.1.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/reveal.css">
<script language="javascript" src="/js/left-fixed.js"></script>
<script language="javascript" src="js/jquery.reveal.js"></script>
<style type="text/css">
.banner{width:100%;height:260px; overflow:hidden}
.banner img{width:100%;height:400px;}
 .main-inner2{width:1100px;margin:0 auto;position:relative;}
.nav2{height:61px;background:#f6f6f6;width:100%;overflow:inherit;}
.nav2 ul{height:60px;float:left;}
.nav2 ul li{float:left;margin-right:31px;height:61px;}
.nav2 ul li a{color:#333;display:block;line-height:61px;}
.nav2 ul li a:hover{line-height:55px;margin-top:3px;border-bottom:3px solid #d61f26;color:#d61f26;}
.nav2 ul li .nav2-on{line-height:55px;margin-top:3px;border-bottom:3px solid #d61f26;color:#d61f26;}
.position{float:right;}
.position p{line-height:61px;}
.position p img{margin-top:24px;width:17px;height:17px;float:left;padding-right:4px;}
.position p a{margin:0 2px;color:#666;line-height:61px;display:inline-block;}
.images-box{width:159px;height:159px;position:absolute;top:-88px;left:0;}
.images-box .images{width:159px;height:159px;position:relative;display: inline-block;
	background:url(/images/img_01.png) center center no-repeat;}
.images .pic{position: absolute;right: 0px; top: 0px;opacity: 0;-ms-filter: 'alpha(opacity=0)';width:159px;height:159px;
	cursor:pointer;
	}
    </style></head>
<body>
 <div class="banner" style="background:url(http://www.ae-foundation.com/new-style20211021/items/images/TATA-Wooden-Doo-banner.png) center center no-repeat;"></div>
<div class="main-inner nav2">
	<div class="main-inner2">
    	<ul>
          <li><a href="http://www.ae-foundation.com/index/534">项目首页</a></li>
          <li><a href="http://www.ae-foundation.com/index/534#section2">项目简介</a></li>
          <li><a href="http://www.ae-foundation.com/index/534#section3">项目进展</a></li>
          <li><a href="http://www.ae-foundation.com/index/534#section4">资助公示</a></li>
          <li><a class="nav2-on" href="http://www.ae-foundation.com/list/538">项目申请</a></li>
        </ul>
    	<div class="position"><p> <script type="text/javascript">
           	var now=(new Date()).getHours();
			if(now>0&&now<=6){
				document.write("午夜好，");
			}
			else if(now>6&&now<=9){
				document.write("早上好，");
			}
			else if(now>9&&now<=11){
				document.write("上午好，");
			}else if(now>11&&now<=14){
				document.write("中午好，");
			}else if(now>14&&now<=18){
				document.write("下午好，");
			}else{
				document.write("晚上好，");
			}
			</script>
       <a href="#" class="userName"><?php echo $cfg_ml->M_UserName?></a> <a href="../member/index_do_tata.php?fmdo=login&dopost=exit#">[退出]</a> </p></div>
        <div style="clear:both;"></div>
        </div>
	</div>
<div class="main member-main">
<div class="main-inner">
	<div class="main-nav">
    	<ul>
        	<div class="images-box">
        	<div class="images">
<a href="#" data-reveal-id="myModal2" data-animation="none" >
 <?php 
 $face = $cfg_ml->fields['face'];
     if($face!=''){ echo "<img   src='$face' style='_margin-top:expression(( 180 - this.height ) / 2);cursor:pointer'  />\r\n";
	 }
  else echo "<img   src='/hyxt/pc/images/img_01.png' style='_margin-top:expression(( 180 - this.height ) / 2);cursor:pointer'   />\r\n";	
       			?>   </a>           </div>
            </div>
        	<li><a href="index_tatasq.php"  target="_self"  class="">网上申请</a></li>
        	<li><a href="content_list_tata.php?channelid=38"  target="_self" class="" >信息管理</a></li>
        	<li><a href="zhuangtai_list_tata.php?channelid=38"  target="_self"  class="on" >状态查询</a></li>
        	<li><a href="edit_baseinfo_tata.php"  target="_self"  class="">帐号信息</a></li>
        </ul>
    </div>
    <div class="main-body">
<!-- <img src="/images/pcbuzhou.png"  width="100%" style="margin-bottom:30px;"/> -->
<link rel="stylesheet" type="text/css" href="/hyxt/model-head20211227/css/jz.css"/>
		<div class="buzhou">
			<h1>网上申请<span id="title-3">3</span>步骤</h1>
			<ul>
				<li>
					<img src="/hyxt/model-head20211227/images/buzhou1.png" alt="步骤1">
					<p>在“网上申请”页面分布填写信息并保存，可以对已填写信息进行修改，缺少的信息进行补填。</p>
				</li>
				<li>
					<img src="/hyxt/model-head20211227/images/buzhou2.png" alt="步骤2">
					<p>申请表填写完成，确认没问题后，在“信息管理”页点击“提交”按钮提交申请。<span id="zhu">注：申请表提交后则不可以对信息进行任何修改。</span></p>
				</li>
				<li>
					<img src="/hyxt/model-head20211227/images/buzhou3.png" alt="步骤4">
					<p>由工作人员审核筛查申请信息，最终审核结果会在“状态查询”页显示。</p>
				</li>
			</ul>
		</div>
		<div style="clear: both;"></div>
<?php
$atts = array();
$atts['tagname'] = 'datalist';
$blockValue = $this->refObj->GetArcList($atts,$this->refObj,$fields); 
if(is_array($blockValue)){
foreach( $blockValue as $key=>$fields )
{
?>
    	<div class="hyxm">
        	<div class="hyxm-title">项目名称：<?php echo $fields['typename']; ?></div>
            <div class="hyxm-body">
            	<div class="hyxm-step">
                	<div class="step-bj"></div>
					<ul>
					<?php
if($fields['tijiao']=="1"){
                    	echo "<li class='active'><span>1</span>提交申请<br>";
						echo GetDateMk($fields['senddate']); 
                        echo "</li>";
						}
					else
					{
					echo "<li><span>1</span><font color='blue'>提交申请</font><br>";
                    echo "</li>";
					}

if($fields['zhuangtai']=="审核中")
         echo "<li class='active'><span>2</span><font color='red'>审核中</font><br/>".date('Y-m-d H:i:s',$fields['shztime']);
else if($fields['zhuangtai']=="审核未通过") echo "<li class='close'><span>2</span>审核不通过<br/>".date('Y-m-d H:i:s',$fields['shjgtime']);
else if($fields['zhuangtai']=="材料补充中") echo "<li class='close'><span>2</span>材料补充中<br/>".date('Y-m-d H:i:s',$fields['clbctime']);
else if($fields['zhuangtai']=="待筛查") echo "<li class='close'><span>2</span>待筛查<br/>".date('Y-m-d H:i:s',$fields['dsctime']);
else if($fields['zhuangtai']=="审核通过")
 echo "<li class='active'><span>2</span>审核通过<br/>".date('Y-m-d H:i:s',$fields['shjgtime']);
 else if($fields['zhuangtai']=="救助中")
 echo "<li class='active'><span>2</span>审核通过<br/>".date('Y-m-d H:i:s',$fields['shjgtime']);
  else if($fields['zhuangtai']=="救助完成")
 echo "<li class='active'><span>2</span>审核通过<br/>".date('Y-m-d H:i:s',$fields['shjgtime']);
else echo "<li><span>2</span><font color='red'>未审核</font>";
?>
                        </li>
						<?php
if($fields['zhuangtai']=="救助中"){
                        	 echo "<li class='active'><span>3</span>救助中";
                            echo "<br/>";
							echo date('Y-m-d H:i:s',$fields['zzztime']);
                        echo "</li>";}
	 
if($fields['zhuangtai']=="救助完成"){
                        	 echo "<li class='active'><span>3</span>救助中";
                            echo "<br/>";
							echo date('Y-m-d H:i:s',$fields['zzztime']);
                        echo "</li>";}
	 
if($fields['zhuangtai']=="救助完成"){
                        	 echo "<li class='active'><span>4</span>救助完成";
                             echo "<br/>";
							echo date('Y-m-d H:i:s',$fields['yzztime']);
                            echo "</li>";}
						?>
                    </ul>
                </div>
            	<div class="remarks">
 <?php
if($fields['zhuangtai']=="审核通过")
           echo "您已通过项目审核，请等待基金会通知。<br>收到基金会通知，请携带申请表打印资料，并携带：身份证、户口本、家庭情况说明原件。";
else if($fields['tijiao']=="1")
			echo "您的申请表完成提交10个工作日后，请用注册手机号登录查询审核进度，如通过审核，请等待基金会通知";
else
		{$a = $fields['aieryijian'];
		$a =str_replace('style="text-align: center;"','astylecenter',$a );
		$a=str_replace('style="text-align: right;"','astyleright',$a);
		$a=str_replace('style="color:','astylecolor',$a);
		$a=str_replace('style="font','astylefont',$a);
		$a=preg_replace('/style=.+?[*|\"]/i','',$a);
		$a=str_replace('astylecenter','style="text-align: center;"',$a);
		$a=str_replace('astyleright','style="text-align: right;"',$a);
		$a=str_replace('astylecolor','style="color:',$a);
		$a=str_replace('astylefont','style="font',$a);
        $a =str_replace('<x>','',$a );
          $a =str_replace('“','"',$a );
        echo $a;
}
?>
                </div>
            </div>
        </div>
<?php
}
}?>
 <div class="pageList"> </div></div></div>
    </div>
<!--弹窗开始-->
<div id="myModal2" class="reveal-modal">
 <form action="edit_face.php" method="post" enctype="multipart/form-data" name="form2">
    <input type="hidden" name="dopost" value="save" />
      <div id="mainCp">
       <h3 class="bt">用户头像</h3>
        <div class="postForm">
            <input name="face" type="file" id="face" size="45" />
         </div>
          <div style="clear:both;"></div>
          <p>
            <button class="export" type="submit">&nbsp;&nbsp;&nbsp;&nbsp;更&nbsp;&nbsp;新&nbsp;&nbsp;&nbsp;&nbsp;</button>
          </p>
    </div>
</form> 
</div>
<!--弹窗结束-->
</body>
</html>